package com.yidu.user.service.impl;


import com.yidu.user.dao.UserMapper;
import com.yidu.user.entity.User;
import com.yidu.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserServiceImpl implements UserService {
    @Resource
    UserMapper userMapper;
    public List<User> selectUser(){
        System.out.println("我是邹稷");
        return userMapper.selectUser();
    }

}
